<?php
//declare(encoding='UTF-8');

  class OrderList{
		
		private $orderList = array();
		
 
		public function insertOrder(&$order){
			array_push($this->orderList, $order);
		}
		
		public function getOrderList(){
			return $this->orderList;
		}
		
		public function removeOrder($count){
			unset($this->orderList[$count]);
			$this->orderList = array_values($this->orderList);
		}
		
		public function countOrder(){
		 return count($this->orderList);
		}
 
	}

?>